package cn.simon.free.logtrack.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 日志追踪配置
 *
 * @author simon
 * @date 2020/12/23 10:39
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
@Component
@ConfigurationProperties(prefix = "cn.glc.log-track")
public class LogTrackProperties {

    /**
     * true:开启/false:关闭
     */
    private boolean enable;
    /**
     * 日志追踪名称
     */
    private String name;

}
